﻿
using System.Text.RegularExpressions;

namespace wt.wine.Application.Common.Utils
{
    public class RegexHelper
    {
        public static bool RegexAccount(string account)
        {
            return Regex.IsMatch(account, @"^(?=.*[a-zA-Z])(?=.*\d).+$");
        }
        public static bool RegexPassword(string account)
        {
            return Regex.IsMatch(account, @"^(?=.*[a-zA-Z])(?=.*\d).+$");
        }

    }
}
